-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Nov 30, 2025 at 08:37 PM
-- Server version: 11.4.9-MariaDB
-- PHP Version: 8.4.14

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `finovest_bt1`
--

-- --------------------------------------------------------

--
-- Table structure for table `admins`
--

CREATE TABLE `admins` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `balance` double(20,2) NOT NULL DEFAULT 0.00,
  `name` varchar(255) NOT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `salary_date` varchar(255) DEFAULT NULL,
  `type` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `admins`
--

INSERT INTO `admins` (`id`, `balance`, `name`, `photo`, `email`, `email_verified_at`, `password`, `salary_date`, `type`, `phone`, `address`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 0.00, 'CodeKart-Lab', '/public/admin/assets/images/profile/1764517543Mlk.jpg', 'codekartlab@gmail.com', '2023-11-29 18:37:08', '$2y$12$Cu7MWvAJD8FBcdBM.RshquSg2jxIrAmmOzGj6dtAkFeIbJvWi7C6e', '2024-05-03', 'admin', '01600000000', 'Sylhet , Bangladesh', 'vvdNP6a8AgzQV5jWvfyPLNev4iJzfTGRD982Fekssem5M7Cb910gkyjSqf5X', '2023-11-28 11:11:57', '2025-11-30 21:45:43');

-- --------------------------------------------------------

--
-- Table structure for table `admin_ledgers`
--

CREATE TABLE `admin_ledgers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `admin_id` bigint(20) UNSIGNED NOT NULL,
  `reason` varchar(255) NOT NULL,
  `perticulation` varchar(255) DEFAULT NULL,
  `amount` double NOT NULL DEFAULT 0,
  `debit` double NOT NULL DEFAULT 0,
  `credit` double NOT NULL DEFAULT 0,
  `status` enum('pending','approved','rejected','default') NOT NULL DEFAULT 'default',
  `date` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `bonuses`
--

CREATE TABLE `bonuses` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `bonus_name` varchar(255) NOT NULL,
  `counter` int(11) DEFAULT 0 COMMENT 'user get service count',
  `set_service_counter` int(11) NOT NULL,
  `code` varchar(255) NOT NULL,
  `winner` int(11) DEFAULT 0,
  `amount` double NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bonuses`
--

INSERT INTO `bonuses` (`id`, `bonus_name`, `counter`, `set_service_counter`, `code`, `winner`, `amount`, `status`, `created_at`, `updated_at`) VALUES
(80, '1', 102, 110, 'FO9TTT', 110, 5000, 'active', '2024-09-12 12:05:18', '2025-08-11 04:44:05');

-- --------------------------------------------------------

--
-- Table structure for table `bonus_ledgers`
--

CREATE TABLE `bonus_ledgers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `bonus_id` bigint(20) UNSIGNED NOT NULL,
  `amount` double(20,2) NOT NULL DEFAULT 0.00,
  `bonus_code` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bonus_ledgers`
--

INSERT INTO `bonus_ledgers` (`id`, `user_id`, `bonus_id`, `amount`, `bonus_code`, `created_at`, `updated_at`) VALUES
(1, 23, 80, 0.00, 'FO9TTT', '2025-08-11 03:04:17', '2025-08-11 03:04:17'),
(2, 28, 80, 0.00, 'FO9TTT', '2025-08-11 04:44:05', '2025-08-11 04:44:05');

-- --------------------------------------------------------

--
-- Table structure for table `checkins`
--

CREATE TABLE `checkins` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `date` varchar(255) NOT NULL,
  `amount` double(20,2) NOT NULL DEFAULT 0.00,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `commissions`
--

CREATE TABLE `commissions` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `task_id` int(11) DEFAULT NULL,
  `amount` double(20,2) NOT NULL DEFAULT 0.00,
  `date` varchar(255) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `token` varchar(255) DEFAULT NULL,
  `created_at` varchar(255) DEFAULT NULL,
  `updated_at` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `deposits`
--

CREATE TABLE `deposits` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `method_name` varchar(255) NOT NULL,
  `method_number` varchar(255) DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `order_id` varchar(255) NOT NULL,
  `transaction_id` varchar(255) NOT NULL,
  `number` varchar(255) DEFAULT NULL COMMENT 'User Number',
  `amount` varchar(255) NOT NULL COMMENT 'User Deposit Amount',
  `charge_amount` double(20,2) NOT NULL DEFAULT 0.00,
  `final_amount` double(20,2) NOT NULL DEFAULT 0.00,
  `date` varchar(255) NOT NULL,
  `status` enum('pending','rejected','approved') NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `deposits`
--

INSERT INTO `deposits` (`id`, `user_id`, `method_name`, `method_number`, `photo`, `order_id`, `transaction_id`, `number`, `amount`, `charge_amount`, `final_amount`, `date`, `status`, `created_at`, `updated_at`) VALUES
(19, 34, 'বিকাশ', '01868505060', NULL, '24763', 'HCUNJ8YB', NULL, '300', 0.00, 300.00, '15-08-2025 00:35:40', 'pending', '2025-08-14 18:35:40', '2025-08-14 18:35:40'),
(20, 37, 'বিকাশ', '01732705597', NULL, '65150', 'Siwjdskziskksk', NULL, '1500', 0.00, 1500.00, '16-08-2025 10:50:41', 'pending', '2025-08-16 04:50:41', '2025-08-16 04:50:41'),
(21, 37, 'বিকাশ', '01534742678', NULL, '52660', 'Snwjebjemuenqb', NULL, '300', 0.00, 300.00, '16-08-2025 13:43:46', 'pending', '2025-08-16 07:43:46', '2025-08-16 07:43:46'),
(22, 40, 'বিকাশ', 'Ywuwuq', NULL, '96969', 'Hwhwga', NULL, '300', 0.00, 300.00, '30-11-2025 19:29:04', 'pending', '2025-11-30 19:29:04', '2025-11-30 19:29:04'),
(23, 40, 'বিকাশ', 'Ywuwuq', NULL, '33434', 'CK60WMJKKM', NULL, '10000', 0.00, 10000.00, '30-11-2025 19:29:25', 'pending', '2025-11-30 19:29:25', '2025-11-30 19:29:25'),
(24, 40, 'বিকাশ', 'Ywuwuq', NULL, '38538', 'CK60WMJKKM', NULL, '10000', 0.00, 10000.00, '30-11-2025 19:40:30', 'pending', '2025-11-30 19:40:30', '2025-11-30 19:40:30'),
(25, 40, 'বিকাশ', '01815356062', NULL, '64558', 'UWTQUWTQT', NULL, '4000', 0.00, 4000.00, '30-11-2025 22:07:24', 'approved', '2025-11-30 22:07:24', '2025-11-30 22:07:50');

-- --------------------------------------------------------

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `funds`
--

CREATE TABLE `funds` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `title` longtext NOT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `commission` double(20,2) NOT NULL DEFAULT 0.00 COMMENT 'percent',
  `validity` bigint(20) NOT NULL,
  `minimum_invest` double(20,2) NOT NULL DEFAULT 0.00 COMMENT 'amount',
  `status` enum('upcoming','active') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `funds`
--

INSERT INTO `funds` (`id`, `name`, `title`, `photo`, `commission`, `validity`, `minimum_invest`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Fund 1', 'Fund oneFund oneFund oneFund one', '/public/upload/fund/1714067352YBp.jpg', 800.00, 5, 500.00, 'active', '2023-06-06 15:38:44', '2024-04-25 23:49:12'),
(18, 'Fund 2', 'Event', '/public/upload/fund/1714067554sbV.jpg', 2500.00, 2, 1500.00, 'active', '2024-03-24 11:28:12', '2024-05-01 07:27:28'),
(19, 'Fund 3', 'Event', '/public/upload/fund/1714067820Ksw.jpg', 3000.00, 1, 2000.00, 'active', '2024-03-24 11:29:44', '2024-05-01 07:25:27'),
(24, 'Fund 3', 'Vip4', '/public/upload/fund/171452681034u.jpg', 7500.00, 1, 5000.00, 'active', '2024-05-01 07:26:51', '2024-05-01 07:26:51');

-- --------------------------------------------------------

--
-- Table structure for table `fund_invests`
--

CREATE TABLE `fund_invests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `fund_id` bigint(20) UNSIGNED NOT NULL,
  `validity_expired` varchar(255) NOT NULL,
  `price` double(20,2) NOT NULL DEFAULT 0.00,
  `return_amount` double(20,2) NOT NULL DEFAULT 0.00,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `lucky_ledgers`
--

CREATE TABLE `lucky_ledgers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `draw_id` bigint(20) DEFAULT NULL,
  `amount` double(20,2) NOT NULL DEFAULT 0.00,
  `current_date` varchar(255) NOT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `packages`
--

CREATE TABLE `packages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `category` varchar(255) DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `title` varchar(255) DEFAULT NULL,
  `photo` varchar(255) NOT NULL,
  `price` double NOT NULL,
  `validity` varchar(255) NOT NULL COMMENT 'count days',
  `commission_with_avg_amount` double NOT NULL DEFAULT 0 COMMENT 'user get average amount after validity',
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `packages`
--

INSERT INTO `packages` (`id`, `category`, `name`, `title`, `photo`, `price`, `validity`, `commission_with_avg_amount`, `status`, `created_at`, `updated_at`) VALUES
(58, 'Vip', 'Vip 1', 'Vip 1', '/public/upload/package/1764517735pKL.jpg', 700, '365', 2555, 'active', '2024-10-03 16:10:30', '2025-11-30 21:50:45'),
(59, 'CodeKart-Lab', 'CodeKart-Lab', 'Codekartlab', '/public/upload/package/1764517720dgH.jpg', 1200, '90', 30000, 'active', '2025-11-30 21:48:40', '2025-11-30 21:51:40');

-- --------------------------------------------------------

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `payment_methods`
--

CREATE TABLE `payment_methods` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `address` text DEFAULT NULL,
  `photo` varchar(200) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `name` varchar(200) NOT NULL DEFAULT '',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_methods`
--

INSERT INTO `payment_methods` (`id`, `address`, `photo`, `status`, `name`, `created_at`, `updated_at`) VALUES
(28, '01884090823', '/public/upload/package/1727922366Pga.jpg', 'active', 'বিকাশ', '2024-10-03 08:26:06', '2025-08-11 04:30:19'),
(29, '01884090823', '/public/upload/package/1754884809gQ9.jpg', 'active', 'নগদ', '2025-08-11 04:30:09', '2025-08-11 04:30:09');

-- --------------------------------------------------------

--
-- Table structure for table `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tokenable_type` varchar(255) NOT NULL,
  `tokenable_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `token` varchar(64) NOT NULL,
  `abilities` text DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `purchases`
--

CREATE TABLE `purchases` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `package_id` bigint(20) UNSIGNED NOT NULL,
  `amount` double NOT NULL DEFAULT 0,
  `daily_income` double(20,2) NOT NULL DEFAULT 0.00,
  `date` varchar(255) NOT NULL,
  `status` enum('active','inactive','pending') NOT NULL DEFAULT 'pending',
  `validity` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchases`
--

INSERT INTO `purchases` (`id`, `user_id`, `package_id`, `amount`, `daily_income`, `date`, `status`, `validity`, `created_at`, `updated_at`) VALUES
(11, 40, 58, 700, 7.00, '2025-12-01 22:08:21', 'active', '2026-11-30 22:08:21', '2025-11-30 22:08:21', '2025-11-30 22:08:21'),
(12, 40, 59, 1200, 333.33, '2025-12-01 22:08:26', 'active', '2026-02-28 22:08:26', '2025-11-30 22:08:26', '2025-11-30 22:08:26');

-- --------------------------------------------------------

--
-- Table structure for table `rebates`
--

CREATE TABLE `rebates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `interest_commission1` double NOT NULL,
  `interest_commission2` double NOT NULL,
  `interest_commission3` double NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rebates`
--

INSERT INTO `rebates` (`id`, `interest_commission1`, `interest_commission2`, `interest_commission3`, `created_at`, `updated_at`) VALUES
(1, 20, 3, 2, NULL, '2024-09-06 10:05:13');

-- --------------------------------------------------------

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `withdraw_charge` int(11) NOT NULL DEFAULT 0 COMMENT 'percent',
  `minimum_withdraw` double(20,2) NOT NULL DEFAULT 0.00,
  `maximum_withdraw` double(20,2) NOT NULL DEFAULT 0.00,
  `photo` varchar(200) DEFAULT NULL,
  `w_time_status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `checkin` double(20,2) NOT NULL DEFAULT 0.00,
  `registration_bonus` double(20,2) NOT NULL DEFAULT 0.00,
  `total_member_register_reword` int(11) NOT NULL DEFAULT 0,
  `total_member_register_reword_amount` double(20,2) NOT NULL DEFAULT 0.00,
  `service` varchar(200) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `withdraw_charge`, `minimum_withdraw`, `maximum_withdraw`, `photo`, `w_time_status`, `checkin`, `registration_bonus`, `total_member_register_reword`, `total_member_register_reword_amount`, `service`, `created_at`, `updated_at`) VALUES
(1, 10, 200.00, 50000.00, '/public/upload/package/17645176120w4.jpg', 'active', 7.00, 30.00, 7, 10.00, 'https://t.me/codekart_lab', '2022-01-18 11:03:22', '2025-11-30 21:46:52');

-- --------------------------------------------------------

--
-- Table structure for table `tasks`
--

CREATE TABLE `tasks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `invest` double NOT NULL DEFAULT 0,
  `bonus` double NOT NULL DEFAULT 0,
  `team_size` bigint(20) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tasks`
--

INSERT INTO `tasks` (`id`, `invest`, `bonus`, `team_size`, `created_at`, `updated_at`) VALUES
(9, 200000, 1500, 150, '2024-05-04 06:56:19', '2024-05-04 06:56:19'),
(10, 400000, 3000, 500, '2024-05-04 06:57:05', '2024-05-04 06:57:05'),
(11, 1000000, 7000, 1500, '2024-05-04 06:57:58', '2024-05-04 06:57:58');

-- --------------------------------------------------------

--
-- Table structure for table `task_requests`
--

CREATE TABLE `task_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `task_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `team_invest` double NOT NULL DEFAULT 0,
  `team_size` bigint(20) NOT NULL DEFAULT 0,
  `bonus` double NOT NULL DEFAULT 0,
  `status` enum('pending','received','rejected') NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `ref_by` varchar(255) DEFAULT NULL,
  `ref_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `investor` int(11) NOT NULL DEFAULT 0,
  `phone` varchar(50) DEFAULT NULL,
  `ip` varchar(255) DEFAULT NULL,
  `username` varchar(255) DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `type` varchar(255) DEFAULT NULL,
  `balance` double(20,2) NOT NULL DEFAULT 0.00,
  `deposit_balance` double(20,2) NOT NULL DEFAULT 0.00,
  `receive_able_amount` double(20,2) NOT NULL DEFAULT 0.00,
  `rebate_balance` double(20,3) NOT NULL DEFAULT 0.000,
  `photo` varchar(255) DEFAULT NULL,
  `gateway_method` varchar(50) DEFAULT NULL,
  `gateway_number` varchar(50) DEFAULT NULL,
  `withdraw_password` varchar(255) DEFAULT NULL,
  `ifsc` varchar(200) DEFAULT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `ban_unban` enum('ban','unban') NOT NULL DEFAULT 'unban',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `active_member` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `ref_by`, `ref_id`, `name`, `investor`, `phone`, `ip`, `username`, `email`, `email_verified_at`, `password`, `type`, `balance`, `deposit_balance`, `receive_able_amount`, `rebate_balance`, `photo`, `gateway_method`, `gateway_number`, `withdraw_password`, `ifsc`, `remember_token`, `status`, `ban_unban`, `created_at`, `updated_at`, `active_member`) VALUES
(32, '0000', '769caq798zdw', 'User36', 0, '01577132692', '103.133.200.143', 'uname01577132692', '01577132692@gmail.com', NULL, '$2y$10$tDEYTNoZVjuJLxOGONJK7eTy43vhihayCdIyuabCEYWZIVrzB0apu', NULL, 50.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-12 17:31:51', '2025-08-16 04:40:34', 0),
(33, '769caq798zdw', 'xcb426efv916', 'User71', 0, '01722010300', '37.111.214.135', 'uname01722010300', '01722010300@gmail.com', NULL, '$2y$10$TdT5UbH9NTtew/e1wwE.c.BeLUNOHW/Q/52pjsmIgx43d6QA.0Vlq', NULL, 30.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-13 23:06:01', '2025-08-13 23:06:01', 0),
(34, 'ty7775175ozp', 'p0c100fse589', 'User86', 0, '01608132200', '103.87.236.17', 'uname01608132200', '01608132200@gmail.com', NULL, '$2y$10$6s0NKK293hWJ421li7ulQO7WPFvmYng/krxFIaJYMivVhhsTBUMq6', NULL, 30.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-14 18:29:25', '2025-08-14 18:29:25', 0),
(35, '1234', 'evd900zpl957', 'User29', 0, '1884090823', '114.130.99.199', 'uname1884090823', '1884090823@gmail.com', NULL, '$2y$10$F23ABmm4dHR.cLFk9VdbX.NqN5kFrLsh31.X8WzpRqgISWOzJp0Za', NULL, 30.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-15 15:43:02', '2025-08-15 15:43:02', 0),
(36, 'ly15497hh914', 'lp0390565dzv', 'User81', 0, '3363832700', '116.71.176.145', 'uname3363832700', '3363832700@gmail.com', NULL, '$2y$10$s9AKDI3SqoC97fyryUPVoedUWoR0mgN1XvJFsQ6183zG9k27XYFfW', NULL, 30.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-15 16:48:12', '2025-08-15 16:48:12', 0),
(37, '769caq798zdw', '1at4363v525', 'User60', 0, '1732705597', '37.111.221.246', 'uname1732705597', '1732705597@gmail.com', NULL, '$2y$10$lb.cJf/Vo377LIZuhmzuJuQm4IXz0BXQ8uIQ0BKdGMKKaLeQc2Guu', NULL, 30.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-16 04:40:34', '2025-08-16 04:40:34', 0),
(38, '594bxraq0389', '11xmvcyx95', 'User30', 0, '01707932047', '103.109.238.205', 'uname01707932047', '01707932047@gmail.com', NULL, '$2y$10$xRNZloQWiCZAF1EON01W0u/Ue2chyPt8rH0yAZ.80U5YhvsjMmuxS', NULL, 30.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-16 17:38:43', '2025-08-16 17:38:43', 0),
(39, '8786klkkg974', '378pbf58poo', 'User71', 0, '01746225997', '103.130.175.14', 'uname01746225997', '01746225997@gmail.com', NULL, '$2y$10$.iH0F1YlnZvdjgqNKhTiNu73L0kVm/FKGcM0YOz4nu3MYNR1RqDyO', NULL, 30.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-08-17 10:18:52', '2025-08-17 10:18:52', 0),
(40, '70717owyl899', 'gjr379iwy729', 'User87', 1, '01836194216', '103.120.44.189', 'uname01836194216', '01836194216@gmail.com', NULL, '$2y$10$v93q0qDwn1ybFr/bfv97OevhRf2WdwQlkZof5KHdfwb/zcUdIYtjq', NULL, 2130.00, 0.00, 0.00, 0.000, NULL, NULL, NULL, NULL, NULL, NULL, 'active', 'unban', '2025-11-30 19:28:07', '2025-11-30 22:08:26', 0);

-- --------------------------------------------------------

--
-- Table structure for table `user_ledgers`
--

CREATE TABLE `user_ledgers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `get_balance_from_user_id` bigint(20) DEFAULT NULL,
  `reason` varchar(255) NOT NULL,
  `perticulation` varchar(255) DEFAULT NULL,
  `amount` double NOT NULL DEFAULT 0,
  `debit` double NOT NULL DEFAULT 0,
  `credit` double NOT NULL DEFAULT 0,
  `status` enum('pending','approved','rejected','default') NOT NULL DEFAULT 'default',
  `date` varchar(255) DEFAULT NULL,
  `step` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_ledgers`
--

INSERT INTO `user_ledgers` (`id`, `user_id`, `get_balance_from_user_id`, `reason`, `perticulation`, `amount`, `debit`, `credit`, `status`, `date`, `step`, `created_at`, `updated_at`) VALUES
(26, 17, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-09 22:41:00', NULL, '2025-08-09 17:11:00', '2025-08-09 17:11:00'),
(27, 18, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-09 23:57:35', NULL, '2025-08-09 18:27:35', '2025-08-09 18:27:35'),
(28, 19, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 00:03:37', NULL, '2025-08-09 18:33:37', '2025-08-09 18:33:37'),
(29, 20, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 00:20:35', NULL, '2025-08-09 18:50:35', '2025-08-09 18:50:35'),
(30, 21, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 00:28:08', NULL, '2025-08-09 18:58:08', '2025-08-09 18:58:08'),
(31, 22, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 06:55:46', NULL, '2025-08-10 01:25:46', '2025-08-10 01:25:46'),
(32, 9, NULL, 'daily_income', 'Albemrli & Package Package commission', 700, 0, 700, 'approved', '2025-08-10 07:49:42', NULL, '2025-08-10 02:19:42', '2025-08-10 02:19:42'),
(33, 10, NULL, 'daily_income', 'Albemrli & Package Package commission', 700, 0, 700, 'approved', '2025-08-10 07:49:42', NULL, '2025-08-10 02:19:42', '2025-08-10 02:19:42'),
(34, 23, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 10:01:13', NULL, '2025-08-10 04:31:13', '2025-08-10 04:31:13'),
(35, 24, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 10:12:18', NULL, '2025-08-10 04:42:18', '2025-08-10 04:42:18'),
(36, 23, NULL, 'rebate', 'Congratulations. number of member 0 register rebate received', 10, 10, 0, 'approved', '2025-08-10 22:22:29', NULL, '2025-08-10 16:52:29', '2025-08-10 16:52:29'),
(37, 25, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 22:22:29', NULL, '2025-08-10 16:52:29', '2025-08-10 16:52:29'),
(38, 26, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-10 23:01:05', NULL, '2025-08-10 17:31:05', '2025-08-10 17:31:05'),
(39, 27, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-11 07:43:38', NULL, '2025-08-11 02:13:38', '2025-08-11 02:13:38'),
(40, 9, NULL, 'daily_income', 'Vip 1 Package commission', 700, 0, 700, 'approved', '2025-08-11 07:49:44', NULL, '2025-08-11 02:19:44', '2025-08-11 02:19:44'),
(41, 10, NULL, 'daily_income', 'Vip 1 Package commission', 700, 0, 700, 'approved', '2025-08-11 07:49:44', NULL, '2025-08-11 02:19:44', '2025-08-11 02:19:44'),
(42, 22, NULL, 'daily_income', 'Vip 1 Package commission', 700, 0, 700, 'approved', '2025-08-11 07:49:44', NULL, '2025-08-11 02:19:44', '2025-08-11 02:19:44'),
(43, 23, NULL, 'lucky', 'congratulations User49 successfully', 3344, 3344, 0, 'approved', '11-08-2025 08:34', NULL, '2025-08-11 03:04:17', '2025-08-11 03:04:17'),
(44, 28, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-11 09:46:45', NULL, '2025-08-11 04:16:45', '2025-08-11 04:16:45'),
(45, 28, NULL, 'lucky', 'congratulations User64 successfully', 4825, 4825, 0, 'approved', '11-08-2025 10:14', NULL, '2025-08-11 04:44:05', '2025-08-11 04:44:05'),
(46, 29, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-11 15:53:57', NULL, '2025-08-11 09:53:57', '2025-08-11 09:53:57'),
(47, 29, NULL, 'rebate', 'Congratulations. number of member 0 register rebate received', 10, 10, 0, 'approved', '2025-08-11 15:59:30', NULL, '2025-08-11 09:59:30', '2025-08-11 09:59:30'),
(48, 30, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-11 15:59:30', NULL, '2025-08-11 09:59:30', '2025-08-11 09:59:30'),
(49, 31, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-11 16:03:58', NULL, '2025-08-11 10:03:58', '2025-08-11 10:03:58'),
(50, 32, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-12 23:31:51', NULL, '2025-08-12 17:31:51', '2025-08-12 17:31:51'),
(51, 32, NULL, 'rebate', 'Congratulations. number of member 0 register rebate received', 10, 10, 0, 'approved', '2025-08-14 05:06:01', NULL, '2025-08-13 23:06:01', '2025-08-13 23:06:01'),
(52, 33, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-14 05:06:01', NULL, '2025-08-13 23:06:01', '2025-08-13 23:06:01'),
(53, 34, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-15 00:29:26', NULL, '2025-08-14 18:29:26', '2025-08-14 18:29:26'),
(54, 35, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-15 21:43:02', NULL, '2025-08-15 15:43:02', '2025-08-15 15:43:02'),
(55, 36, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-15 22:48:12', NULL, '2025-08-15 16:48:12', '2025-08-15 16:48:12'),
(56, 32, NULL, 'rebate', 'Congratulations. number of member 1 register rebate received', 10, 10, 0, 'approved', '2025-08-16 10:40:34', NULL, '2025-08-16 04:40:34', '2025-08-16 04:40:34'),
(57, 37, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-16 10:40:34', NULL, '2025-08-16 04:40:34', '2025-08-16 04:40:34'),
(58, 38, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-16 23:38:43', NULL, '2025-08-16 17:38:43', '2025-08-16 17:38:43'),
(59, 39, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-08-17 16:18:52', NULL, '2025-08-17 10:18:52', '2025-08-17 10:18:52'),
(60, 40, NULL, 'rebate', 'Congratulations. you have received registration bonus.', 30, 30, 0, 'approved', '2025-11-30 19:28:07', NULL, '2025-11-30 19:28:07', '2025-11-30 19:28:07');

-- --------------------------------------------------------

--
-- Table structure for table `vip_sliders`
--

CREATE TABLE `vip_sliders` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `photo` varchar(255) NOT NULL,
  `status` enum('active','inactive') DEFAULT 'active',
  `page_type` enum('home_page','vip_page') NOT NULL DEFAULT 'home_page',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vip_sliders`
--

INSERT INTO `vip_sliders` (`id`, `photo`, `status`, `page_type`, `created_at`, `updated_at`) VALUES
(18, '/public/upload/slider/1727923168PJw.png', 'active', 'home_page', '2024-10-03 08:39:28', '2024-10-03 08:39:28');

-- --------------------------------------------------------

--
-- Table structure for table `withdrawals`
--

CREATE TABLE `withdrawals` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `method_name` varchar(255) DEFAULT NULL,
  `oid` varchar(255) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `amount` decimal(20,2) NOT NULL DEFAULT 0.00,
  `charge` decimal(20,2) NOT NULL DEFAULT 0.00,
  `final_amount` decimal(20,2) NOT NULL DEFAULT 0.00,
  `status` enum('pending','approved','rejected','processing') NOT NULL DEFAULT 'pending' COMMENT '1=>success, 2=>pending, 3=>cancel,  ',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `admins`
--
ALTER TABLE `admins`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `admins_email_unique` (`email`);

--
-- Indexes for table `admin_ledgers`
--
ALTER TABLE `admin_ledgers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `bonuses`
--
ALTER TABLE `bonuses`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `bonus_ledgers`
--
ALTER TABLE `bonus_ledgers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `checkins`
--
ALTER TABLE `checkins`
  ADD PRIMARY KEY (`id`),
  ADD KEY `checkins_user_id_foreign` (`user_id`);

--
-- Indexes for table `commissions`
--
ALTER TABLE `commissions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `deposits`
--
ALTER TABLE `deposits`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `funds`
--
ALTER TABLE `funds`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `fund_invests`
--
ALTER TABLE `fund_invests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fund_invests_user_id_foreign` (`user_id`),
  ADD KEY `fund_invests_fund_id_foreign` (`fund_id`);

--
-- Indexes for table `lucky_ledgers`
--
ALTER TABLE `lucky_ledgers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lucky_ledgers_user_id_foreign` (`user_id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `packages`
--
ALTER TABLE `packages`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
  ADD PRIMARY KEY (`email`);

--
-- Indexes for table `payment_methods`
--
ALTER TABLE `payment_methods`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`);

--
-- Indexes for table `purchases`
--
ALTER TABLE `purchases`
  ADD PRIMARY KEY (`id`),
  ADD KEY `purchases_user_id_foreign` (`user_id`),
  ADD KEY `purchases_package_id_foreign` (`package_id`);

--
-- Indexes for table `rebates`
--
ALTER TABLE `rebates`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tasks`
--
ALTER TABLE `tasks`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `task_requests`
--
ALTER TABLE `task_requests`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`);

--
-- Indexes for table `user_ledgers`
--
ALTER TABLE `user_ledgers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `vip_sliders`
--
ALTER TABLE `vip_sliders`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `withdrawals`
--
ALTER TABLE `withdrawals`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `admins`
--
ALTER TABLE `admins`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `admin_ledgers`
--
ALTER TABLE `admin_ledgers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `bonuses`
--
ALTER TABLE `bonuses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=81;

--
-- AUTO_INCREMENT for table `bonus_ledgers`
--
ALTER TABLE `bonus_ledgers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `checkins`
--
ALTER TABLE `checkins`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `commissions`
--
ALTER TABLE `commissions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `deposits`
--
ALTER TABLE `deposits`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `funds`
--
ALTER TABLE `funds`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `fund_invests`
--
ALTER TABLE `fund_invests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lucky_ledgers`
--
ALTER TABLE `lucky_ledgers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `packages`
--
ALTER TABLE `packages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=60;

--
-- AUTO_INCREMENT for table `payment_methods`
--
ALTER TABLE `payment_methods`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `purchases`
--
ALTER TABLE `purchases`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `rebates`
--
ALTER TABLE `rebates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tasks`
--
ALTER TABLE `tasks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `task_requests`
--
ALTER TABLE `task_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;

--
-- AUTO_INCREMENT for table `user_ledgers`
--
ALTER TABLE `user_ledgers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=61;

--
-- AUTO_INCREMENT for table `vip_sliders`
--
ALTER TABLE `vip_sliders`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `withdrawals`
--
ALTER TABLE `withdrawals`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `checkins`
--
ALTER TABLE `checkins`
  ADD CONSTRAINT `checkins_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `lucky_ledgers`
--
ALTER TABLE `lucky_ledgers`
  ADD CONSTRAINT `lucky_ledgers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
